package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-20
 * Time: 16:02
 */
public class Test {
    public static void main(String[] args) {
        computer computer = new computer();
        computer.open();
        computer.useUsbDevice(new keyBoard());
        computer.useUsbDevice(new mouse());
        computer.close();
    }
}

